package com.example.children.FileService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.children.DTO.AttendanceTeacherDTO;
import com.example.children.Model.Attendance;

import java.util.List;

public interface AttendanceInterface {

    //添加出勤记录
    boolean addAttendance(Attendance attendance);

    //学生id查询出勤记录
    List<Attendance> listToStudentIds(String studentId);

    // 条件查询出勤
    List<Attendance> selectByDateSend(Attendance attendance);

    //管理员条件查询
    List<AttendanceTeacherDTO> AdminselectByDateSend(AttendanceTeacherDTO attendance);

    //管理员分页查询
    Page<AttendanceTeacherDTO> GetAllAttendance(int pageNo, int pageSize);



}
